<?php get_header(); ?>
    <div class="outer">
        <section id="main">
			<section class="archives-wrap">
        		<div class="archive-year-wrap">
          			<a href="<?php global $wp; $current_url = home_url(add_query_arg(array(),$wp->request)); echo $current_url; ?>" class="archive-year"><?php if(is_category()) single_cat_title(); if(is_tag()) single_tag_title();  ?></a>
        		</div>
        <div class="archives">
        	<?php if ( have_posts() ) : while ( have_posts() ): the_post(); ?>
			<article class="archive-article archive-type-post">
  				<div class="archive-article-inner">
    			<header class="archive-article-header">
     				<a href="<?php the_permalink(); ?>" class="archive-article-date">
  					<time datetime="<?php the_time('Y-M-D'); ?>" itemprop="datePublished"><?php the_time('m月 d Y'); ?></time>
					</a>
    				<h1 itemprop="name">
      				<a class="archive-article-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    				</h1>
  			   	</header>
  				</div>
			</article>
			<?php endwhile; endif; ?>
		</div>
		</section>
    <?php pagination($query_string); ?>
		</section>
    </div>
<?php get_footer(); ?>
